﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace May_26_2021
{
    class MusicTeacher : Teachers, IAthlete
    {
        public MusicTeacher()
        {

        }
        public MusicTeacher(string name,string job):base(name,job)
        {
            this.Name = name;
            this.Job = job;
        }
        public void Swim()
        {
            Console.WriteLine("我在游泳");
        }

        public override void Work2()
        {
            base.Work2();
            Console.WriteLine("我还是个游泳运动员");
        }
    }
}
